package com.shaokel.eduservice.entity.subject;

import java.util.ArrayList;
import java.util.List;

import lombok.Data;

/**
 * @author 少丶客
 * @ClassName OneSubject
 * @Description 树形列表对应的属性和id名称       一级分类
 * @Date 2020/6/3 14:23
 * @Vesion 1.0
 */
@Data
public class OneSubject {

    private String id;
    private String title;

    //一个一级分类有多个二级分类
    private List<TwoSubject> children = new ArrayList<>();

}